// BookInterface.aidl
package com.example.myapplication;
import com.example.myapplication.Book;
// Declare any non-default types here with import statements

interface BookInterface {
    /**
     * Demonstrates some basic types that you can use as parameters
     * and return values in AIDL.
     */
    void basicTypes(int anInt, long aLong, boolean aBoolean, float aFloat,
            double aDouble, String aString);

    int getInt();//int类型

    String getString();//String类型

    List<Book> getBookList();//aidl对象

    void addBook(inout Book book);//aidl对象
}